var path = "/OA";


function sureDelete(id){
	layer.confirm("是否删除该回复信息?" ,{
		btn:['是','否']
	},function(){
		$.ajax({
			url : path +"/reply/deleteReply",
			data:{"id" : id},
			dataType:"json",
			error:function(){
				layer.alert("权限不足");
			},
			success:function(data){
				if(data.success){
					layer.alert(data.message,'信息提示',function(){
						location.reload();
					});
				}else{
					layer.alert(data.message);
					console.log(data);
				}
			}
		});
	}
	)
}
